package org.jeecg.modules.demo.tobedone.service.impl;

import org.jeecg.modules.demo.tobedone.entity.Tobedone;
import org.jeecg.modules.demo.tobedone.mapper.TobedoneMapper;
import org.jeecg.modules.demo.tobedone.service.ITobedoneService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import java.util.List;

/**
 * @Description: 待办
 * @Author: jeecg-boot
 * @Date:   2025-08-07
 * @Version: V1.0
 */
@Service
public class TobedoneServiceImpl extends ServiceImpl<TobedoneMapper, Tobedone> implements ITobedoneService {
    @Autowired
    private TobedoneMapper tobedoneMapper;
    //    查询待办的列表全部信息
    @Override
    public List<Tobedone> SelectTobedoneList() {
        return tobedoneMapper.SelectTobedoneList();
    }
    //    查询待办的列表信息
    @Override
    public List<Tobedone> getAllList() {
        return tobedoneMapper.getAllList();
    }
    //    查询待办中的已汇报状态的数据
    @Override
    public List<Tobedone> SelectFinishedReportTobedone() {
        return tobedoneMapper.SelectFinishedReportTobedone();
    }

    /*接收年度关键指标记录的总数
    * */
    @Override
    public int ReceiveSumOfKpi(String orgId, String status) {
        return tobedoneMapper.ReceiveSumOfKpi(orgId,status);
    }

}
